package com.toro.message;

import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.Set;

/**
 * @ClassName: GroupCreateRequestMessage
 * @Description:
 * @Author: ToroLHZ
 * @Date: 2023/12/11 17:21
 */
@Data
@ToString(callSuper = true)
public class GroupCreateRequestMessage extends Message {
    private String groupName;
    private ArrayList<String> members;
    private String creator;

    public GroupCreateRequestMessage(String groupName, ArrayList<String> members, String creator) {
        this.groupName = groupName;
        this.members = members;
        this.creator = creator;
    }

    @Override
    public int getMessageType() {
        return GroupCreateRequestMessage;
    }
}
